<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Actions extends CI_Controller {
    
    public function __construct(){
        parent::__construct();
        
        $this->load->view('header', array('controller' => 'actions'));
    }

    public function index(){
        $this->load->model('Action');
        $data['actions'] = $this->Action->getList();
        $this->load->view('actions/index', $data);
    }
}